package com.hmby.mybatisplus.example.quickstart.entity;

//@Data, 版本有要求，直接用getter 和 setter
public class User
{
	private Long id;
	private String name;
	private Integer age;
	private String email;
	public Long getId()
	{
		return id;
	}
	public void setId(Long id)
	{
		this.id = id;
	}
	public String getName()
	{
		return name;
	}
	public void setName(String name)
	{
		this.name = name;
	}
	public Integer getAge()
	{
		return age;
	}
	public void setAge(Integer age)
	{
		this.age = age;
	}
	public String getEmail()
	{
		return email;
	}
	public void setEmail(String email)
	{
		this.email = email;
	}
	@Override
	public String toString()
	{
		return "User [id=" + id + ", name=" + name + ", age=" + age + ", email=" + email + "]";
	}
}
